package com.jhcee.jhgk.inform.service;

import com.jhgk.jhcee.basics.model.WechatConfigInfo;
import com.jhgk.jhcee.common.resultful.BasisResultful;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: xiezhongping
 * @description:
 * @date: 2021/8/29 14:59.
 */
public interface WechatConfigInfoService {

    @Transactional
    BasisResultful updateToken(String appid);

    BasisResultful<WechatConfigInfo> getToken(String appid);

    BasisResultful sendAllTextMessage(int agentId,String text);

}
